﻿
//全选、反选
function CheckAll(e, itemname) {
    var aa = document.getElementsByName(itemname);
    if (aa == undefined) return;
    for (var i = 0; i < aa.length; i++) aa[i].checked = e.checked;
}